User Invite
Users can now share apps.
See api document for user invite. User Invite
There are two different situations for the invitation.
- Admin
- Custom
Admin
No permission list is required for the admin but userInAppRoleType
parameter required.
Admin is already a role.
Example Request Dto for send invitation
{
"inviteType": "Email",
"userInAppRoleType": "Admin",
"value": "example@example.com",
"callbackUrl": "https://google.com"
}
Yes, check your email.
Accept Request Dto
{
"inviteType": "Email",
"value": "example@example.com",
"token": "09003055-03f1-4c18-9d35-16bccaf1977i"
}
Custom
You need to create a role for this invitation.
Roles is actually a permission group.
Example Request Dto
{
"permissions": [
{
"type": "Create",
"level": "App",
"key": "Notification"
}
]
}
Note !
Default Permission list;
- Level : App || Type : Read || Key : App
- Level : App || Type : All || Key : Storage
Conditional Permission Set;
If notification permission is selected, content permission should be added.
To be continued...